package com.jeffse.light.stream.core.data.context;

import java.io.Serializable;

/**
 * 状态数据必须继承此接口
 * @param <KEY>
 */
public interface KeyedContext<KEY> extends Serializable {
    public KEY getCurrentKey();
    public String getUUID();
    public RuntimeContext getRuntimeContext();
    public void setRuntimeContext(RuntimeContext runtimeContext);
}
